
package com.snail.mobile.sim.oss.dictionaryinfo.dao;

import java.util.Collection;
import java.util.List;

import com.sungrid.seine.oss.framework.dao.BaseDao;
import com.snail.mobile.sim.oss.dictionaryinfo.model.TblDictionaryInfoOss;

public interface TblDictionaryInfoOssDao extends BaseDao 
{
    /**
     * Gets tblDictionaryInfoOss's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param nid the tblDictionaryInfoOss's nid
     * @return tblDictionaryInfoOss populated tblDictionaryInfoOss object
     */
    public TblDictionaryInfoOss getTblDictionaryInfoOss(final Integer nid);

    /**
     * Saves a tblDictionaryInfoOss's information
     * @param tblDictionaryInfoOss the object to be saved
     */    
    public void saveTblDictionaryInfoOss(TblDictionaryInfoOss tblDictionaryInfoOss);

    /**
     * Saves or Updates a tblDictionaryInfoOss's information
     * @param tblDictionaryInfoOss the object to be saved
     */    
    public void saveOrUpdateTblDictionaryInfoOss(TblDictionaryInfoOss tblDictionaryInfoOss);

    /**
     * Removes a tblDictionaryInfoOss from the database by nid
     * @param nid the tblDictionaryInfoOss's nid
     */
    public void removeTblDictionaryInfoOss(final Integer nid);

    /**
     * Retrieves all of the tblDictionaryInfoOsss
     */
    public List getTblDictionaryInfoOsss(TblDictionaryInfoOss tblDictionaryInfoOss);

    /**
     * Removes the tblDictionaryInfoOsss from the database
     * @param tblDictionaryInfoOsss the tblDictionaryInfoOsss to be removed
     */
    public void removeTblDictionaryInfoOsss(final Collection tblDictionaryInfoOsss);

    /**
     * Saves the tblDictionaryInfoOsss from the database
     * @param tblDictionaryInfoOsss the tblDictionaryInfoOsss to be saved
     */
    public void saveTblDictionaryInfoOsss(final Collection tblDictionaryInfoOsss);
}